package com.app.mapper.supermarket;

import com.app.model.supermarket.MktCertModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
@Mapper
public interface MktCertMapper extends BaseMapper<MktCertModel> {

      int insert(MktCertModel model);

      void delete(int mid);

      /**
       *
       * @param mid
       */
      int getCountByMid(int mid);

      List<MktCertModel> getListByMid(int mid);//查询图集


}
